Chris Pollett > Old Classes >
CS158a

( Print View )

Student Corner:
  [Grades Sec1]

  [Submit Sec1]

  [Class Sign Up Sec1]

  [
Lecture Notes]
  [Discussion Board]

Course Info:
  [Texts & Links]
  [Topics/Outcomes]
  [Outcomes Matrix]
  [Grading]
  [HW/Quiz Info]
  [Exam Info]
  [Regrades]
  [Honesty]
  [Additional Policies]
  [Announcements]

HW Assignments:
  [Hw1]  [Hw2]  [Hw3]
  [Hw4]  [Hw5]  [Quizzes]

Practice Exams:
  [Mid]  [Final]

                           












HW#3 --- last modified January 01 1970 00:00:00..

Solution set.

Due date: Apr 11

Files to be submitted:
  Hw3.zip

Purpose:

Related Course Outcomes:

The main course outcomes covered by this assignment are:

LO4 --Describe local area network protocols including Ethernet, Token Ring, and Wireless LAN, and their major schemes such as Spanning Tree Protocol (STP) in IEEE 802.1D.

LO5 --Develop a software simulator for local area network protocols.

LO6 -- Understand network protocols, RIP and OSPF, and the details of IPv4.

Specification: Within your zip file I would like a file Hw3.pdf with a write-up of the following book problems: Ch 3: 1, 13, 17, 19, 26, 34; Ch 4: 8, 17 (for node A rather than node D).

For the ns2 part of the homework I want you to create a simple wireless 802.11 simulation based on the tutorial: http://www.isi.edu/nsnam/ns/tutorial/index.php. In your set up I want you to imagine having four nodes 1,2,3,4 in a topography which is 500 by 500. Node 1 and Node 2 begin at the same location and have tcp traffic between them. Node 3 and 4 are on either side of a "highway" to the north and south of the topography so that the line segment between them is perpendicular to this highway and so that they are also able to send and receive tcp traffic between each other. Node 2 travels along the highway away from node 1, crossing the line segment of nodes 3 and 4 and travels to the other side of this segment the same distance as its starting point to the line segment. I want you to write an awk script, node2extractor.awk, to extract drop packets of node 2. Then I want you to plot the number of dropped packets as a function of distance along the highway in your simulation. Put this in plot.png. Call your tcl script wireless.tcl and put in your Hw3.pdf a write-up of your experiment.

Point Breakdown

Book problems (1pt each, scored 0, 0.5 (partial credit), or 1 full credit) 8pts
ns2 simulation, awk script, plot, and write-up (1/2pt each) 2pts
Total10pts